package com.business.bean.system;

import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/** 
 * @author fengjian E-mail: 9110530@qq.com 
 * @version 创建时间：2018年7月30日
 */
@Table(name = "SYS_ROLE", description = "角色信息表")
public class RoleBean extends ModelBean {

	@Column(pk = true, type = Type.变长文本, description = "角色编号", canNull = false, size = 32)
	private String roleID = null;

	@Column(type = Type.变长文本, description = "角色名称", size = 30)
	private String roleName = null;

	@Column(type = Type.变长文本, description = "机构编号", size = 32)
	private String instID = null;

	@Column(type = Type.变长文本, description = "机构名称", size = 100)
	private transient String instName = null;

	@Column(type = Type.变长文本, description = "角色描述", size = 250)
	private String description;

	public String getRoleID() {
		return roleID;
	}

	public void setRoleID(String roleID) {
		this.roleID = roleID;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getInstID() {
		return instID;
	}

	public void setInstID(String instID) {
		this.instID = instID;
	}

	public String getInstName() {
		return instName;
	}

	public void setInstName(String instName) {
		this.instName = instName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
